ExamPlay Dark Logo
दाखिल करना

Computer Science for IGCSE & O level - Programming (Section 2 - No. 6)

What is the function of the `len()` method in Python (or equivalent in other languages, like 'length' in some)?
To find the largest value in a string.
To calculate the sum of numbers in a string.
To determine the number of characters in a string or elements in a list.
To convert a string to lowercase.

स्पष्टीकरण

The len() method (or its equivalent) returns the length of a sequence.

टिप्पणियाँ (0)

टिप्पणी करने के लिए लॉगिन करें
विज्ञापन
BrainBehindX Inc Logo
©2026; द्वारा संचालित BrainBehindX Inc